﻿<%@ Page Language="C#" AutoEventWireup="true" Codebehind="Default.aspx.cs" Inherits="Sample._Default" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
	<title>Sample</title>
</head>
<body>
	<form id="form1" runat="server">
		<asp:CheckBoxList ID="sampleCheckBoxList" rel="folks" runat="server" AutoPostBack="True" OnSelectedIndexChanged="sampleCheckBoxList_SelectedIndexChanged"
			RepeatDirection="Horizontal">
			<asp:ListItem>Fast</asp:ListItem>
			<asp:ListItem>Very Fast!</asp:ListItem>
			<asp:ListItem>Very Very Fast!!</asp:ListItem>
		</asp:CheckBoxList>
		<asp:Label ID="sampleCheckBoxLabel" runat="server" Text="Folks is..."></asp:Label><hr />
		<table border="0">
				<tr>
					<td>
						<asp:RadioButtonList rel="folks" ID="sample4RadioButtonList" runat="server" AutoPostBack="True"
							OnSelectedIndexChanged="sample4RadioButtonList_SelectedIndexChanged">
							<asp:ListItem Value="1">South America</asp:ListItem>
							<asp:ListItem Value="2">North America</asp:ListItem>
						</asp:RadioButtonList>
					</td>
					<td>
						<asp:ListBox rel="folks" ID="sample4ListBox" runat="server" AutoPostBack="True" OnSelectedIndexChanged="sample4ListBox_SelectedIndexChanged">
							<asp:ListItem Value="1">Brazil</asp:ListItem>
							<asp:ListItem Value="2">United States</asp:ListItem>
						</asp:ListBox>
					</td>
				</tr>
			</table>
		<hr />
		<asp:TextBox ID="TextBox1" runat="server" Width="267px"></asp:TextBox>
		<hr />
		<asp:LinkButton rel="folks" ID="sample2LinkButton" runat="server" OnClick="sample2LinkButton_Click">Next Of </asp:LinkButton>
		<asp:DropDownList ID="sample2DropDownList" runat="server" rel="folks" AutoPostBack="True"
			OnSelectedIndexChanged="sample2DropDownList_SelectedIndexChanged">
			<asp:ListItem>One</asp:ListItem>
			<asp:ListItem>Two</asp:ListItem>
			<asp:ListItem>Three</asp:ListItem>
		</asp:DropDownList>
		<asp:TextBox ID="sample2TextBox" runat="server" Enabled="False"></asp:TextBox>
		<hr />
		<asp:Calendar ID="sample3Calendar" runat="server" BackColor="White" BorderColor="White"
			BorderWidth="1px" Font-Names="Verdana" Font-Size="9pt" ForeColor="Black" Height="190px"
			NextPrevFormat="FullMonth" OnSelectionChanged="sample3Calendar_SelectionChanged"
			Width="350px" rel="folks">
			<SelectedDayStyle BackColor="#333399" ForeColor="White" />
			<TodayDayStyle BackColor="#CCCCCC" />
			<OtherMonthDayStyle ForeColor="#999999" />
			<NextPrevStyle Font-Bold="True" Font-Size="8pt" ForeColor="#333333" VerticalAlign="Bottom" />
			<DayHeaderStyle Font-Bold="True" Font-Size="8pt" />
			<TitleStyle BackColor="White" BorderColor="Black" BorderWidth="4px" Font-Bold="True"
				Font-Size="12pt" ForeColor="#333399" />
		</asp:Calendar>
		<asp:Label ID="sample3Label" runat="server"></asp:Label>
		<hr />
		<asp:GridView ID="sample5GridView" rel="folks" runat="server" AllowPaging="True"
			AutoGenerateColumns="False" PageSize="30" CellPadding="4" DataSourceID="sample5ObjectDataSource"
			ForeColor="#333333" GridLines="None" Width="346px">
			<FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
			<RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
			<Columns>
				<asp:BoundField DataField="Name" HeaderText="Name" SortExpression="Name" />
				<asp:BoundField DataField="Email" HeaderText="Email" SortExpression="Email" />
				<asp:CommandField ShowSelectButton="True" />
			</Columns>
			<PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
			<SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
			<HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
			<EditRowStyle BackColor="#999999" />
			<AlternatingRowStyle BackColor="White" ForeColor="#284775" />
		</asp:GridView>
		<asp:ObjectDataSource ID="sample5ObjectDataSource" runat="server" SelectMethod="GetList"
			TypeName="Sample.Person"></asp:ObjectDataSource>
	</form>
</body>
</html>
